﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CitizenDiary.Sync.Shared
{
    public static class Monitor
    {
        public static TResult Invoke<TService, TResult>(TService service, Func<TService, TResult> callback)
        {
            return callback.Invoke(service);
        }

    }
}
